<%--
  Created by IntelliJ IDEA.
  User: soft01
  Date: 21-10-12
  Time: 下午4:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>优学堂精品课程管理系统</title>
    <!-- 网页图标icon -->
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/logn.png">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/back-index.css" />
    <script src="${pageContext.request.contextPath}/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="${pageContext.request.contextPath}/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
        $(function () {
            $(".user-setting li").click(function() {
                $(".user-setting li").removeClass("active");
                $(this).addClass("active");
            });


            // 点击切换页面,左侧的换页栏
            $(".sys-item").on('click', function(){
                var name = $(this).attr("name");
                console.log(name);
                $('#frame-id').attr('src', name + '.do');
            });
        });

    </script>
</head>

<body>
<div class="wrapper-cc clearfix">
    <div class="content-cc">
        <!-- header start -->
        <div class="clear-bottom head">
            <div class="container head-cc">
                <p>优学堂精品课程<span>后台管理系统</span></p>
                <div class="welcome">
                    <div class="left">欢迎您：</div>
                    <div class="right">${sessionScope.loginUser.nickname}</div>
                    <div class="exit">
                        <a style="color: inherit;" href="${pageContext.request.contextPath}/user/exit.do" >退出</a>
                    </div>
                </div>
            </div>
        </div>
        <!-- header end -->
        <!-- content start -->
        <div class="container-flude flude-cc" id="a">
            <div class="row user-setting">
                <div class="col-xs-3 user-wrap">
                    <ul class="list-group">
                        <li class="list-group-item sys-item active" name="${pageContext.request.contextPath}/user/findAllUser" >
                            <i class="glyphicon glyphicon-user"></i> &nbsp;用户管理
                        </li>
                        <li class="list-group-item sys-item" name="${pageContext.request.contextPath}/course/findAllType" >
                            <i class="glyphicon glyphicon-facetime-video"></i> &nbsp;课程管理
                        </li>
                        <li class="list-group-item sys-item" name="${pageContext.request.contextPath}/courseType/findAllCourseType" >
                            <i class="glyphicon glyphicon-list"></i> &nbsp;课程类别管理
                        </li>
                        <li class="list-group-item sys-item" name="${pageContext.request.contextPath}/resource/findAllResource" >
                            <i class="glyphicon glyphicon-file"></i> &nbsp;资源管理
                        </li>
                        <li class="list-group-item sys-item" name="${pageContext.request.contextPath}/manage/findAllManageComment" >
                            <i class="glyphicon glyphicon-comment"></i> &nbsp;评论审核
                        </li>

                    </ul>
                </div>
                <div class="col-xs-9" id="userPanel">
                    <iframe id="frame-id" src="${pageContext.request.contextPath}/user/findAllUser.do" width="100%" height="100%" frameborder="0" scrolling="yes"></iframe>
                </div>
            </div>
        </div>
        <!-- content end-->uAll
    </div>
</div>
<div class="footer">
    <!-- footers start -->
    版权所有：南京网博 &nbsp; &nbsp; BY:cc
    <!-- footers end -->
</div>
</body>

</html>